package repository;

import java.util.List;

import javax.ejb.Local;

import repository.exceptions.RepositoryException;
import model.Role;

@Local
public interface RoleRepository extends BaseRepository<Role, Long> {

	Role geRoleByName(String roleAsString) throws RepositoryException;

	List<Role> getRolesByUserName(String user) throws RepositoryException;
	
}
